package com.hyb.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *  服务信息
 * </p>
 *
 * @author hyb
 * @since 2021-12-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tbl_handle")
@ApiModel("服务信息")
public class Handle implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "handle_id", type = IdType.AUTO)
    @ApiModelProperty("处理id")
    private Integer handleId;
    @ApiModelProperty("服务id")
    private Integer serviceId;
    @ApiModelProperty("服务处理")
    private String handleService;

    @ApiModelProperty("指派给")
    private String staffName;

    @ApiModelProperty("指派时间")
    private LocalDate saleAssignDate;
    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE,update = "now()")
    private LocalDateTime updateTime;
    @ApiModelProperty("修改次数")
    @Version
    private Integer version;

}
